need-driven development
A variation on the test-driven development process where code is written from the outside in and all depended-on code is replaced by Mock Objects that verify the expected indirect outputs of the code being written. This ensures that the responsibilities of each software unit are well understood before they are coded by virtue of having both unit tests and examples of real usage. The outermost layer of software is written using storytest-driven development and should also have examples of usage by real clients (e.g. a user interface driving the Service Facade[CJ2EEP]) in addition to the customer tests.
Copyright © 2003-2008 Gerard Meszaros all rights reserved